﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using My.Pattern.Factory;

namespace My.Common.Configuration
{
    public class AppConfigurationManager : IConfigurationManager
    {
        public string GetAppSetting(string key)
        {
            return System.Configuration.ConfigurationManager.AppSettings[key];
        }
        public string GetConnectStringSetting(string key)
        {
            return System.Configuration.ConfigurationManager.ConnectionStrings[key].ConnectionString;
        }
    }
}
